﻿<%@ Page Language="C#" MasterPageFile="~/Admin/doanhnghiep.master" AutoEventWireup="true" CodeFile="D_Chitietsanpham.aspx.cs" Inherits="Admin_D_Chitietsanpham" Title="Untitled Page" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<div style="padding:12px 12px 12px 12px;">
<div>
        <div style="color:Purple">
           <h1><i>Chi tiết sản phẩm</i></h1> 
        </div>                  
        <div>
          <table width="100%" cellspacing="0" cellpadding="3" border="1" style="font-family:Tahoma; font-size:14px" > 
                  <tr>
                    <td class="fontht3" style="width: 25%">Mã</td>
                    <td>
                       <asp:Label ID="lit_Ma" runat="server"></asp:Label>
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Tên sản phẩm</td>
                    <td>
                          <asp:Label ID="lit_Tensp" runat="server"></asp:Label>
                    </td>
                </tr> 
                    <tr>
                    <td class="fontht3" style="width: 25%; height: 41px;">Hình minh họa</td>
                    <td style="height: 41px">
                        <asp:Image ID="img_hmh" runat="server" /> 
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%; height: 46px;">Tỉ lệ chiết khấu</td>
                    <td style="height: 46px">
                        <asp:Label ID="lit_tlck" runat="server"></asp:Label>                    
                     </td>   
                </tr>  
                    <tr>
                    <td class="fontht3" style="width: 25%">Danh mục</td>
                    <td>
                        <asp:Label ID="lit_dm" runat="server"></asp:Label>
                    </td>
                </tr>  
                  <tr>
                    <td class="fontht3" style=" width: 25%;">Khu vực</td>
                    <td >
                        <asp:Label ID="lit_kv" runat="server"></asp:Label>
                    </td>
                </tr>             
                    
                   <tr>
                    <td class="fontht3" style=" width: 25%;">Giá gốc</td>
                    <td>
                        <asp:Label ID="lit_giag" runat="server"></asp:Label>
                    </td>
                </tr>   
                <tr>
                    <td class="fontht3" style="width: 25%">Giá bán</td>
                    <td>
                        <asp:Label ID="lit_giab" runat="server"></asp:Label>  
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Số lượng</td>
                    <td>
                        <asp:Label ID="lit_sl" runat="server"></asp:Label>  
                    </td>
                </tr> 
                 <tr>
                    <td class="fontht3" style="width: 25%">Số lượng đã bán</td>
                    <td>
                        <asp:Label ID="lit_soluongdaban" runat="server"></asp:Label>  
                    </td>
                </tr>
                <tr>
                    <td class="fontht3" style="width: 25%">Số lượng còn lại</td>
                    <td>
                        <asp:Label ID="lit_soluongconlai" runat="server"></asp:Label>  
                    </td>
                </tr>
                 <tr>
                    <td class="fontht3" style="width: 25%">Tình trạng</td>
                    <td>
                        <asp:Label ID="lit_tt" runat="server"></asp:Label>  
                    </td>
                </tr>  
                  <tr>
                    <td class="fontht3" style="width: 25%">Mô tả</td>
                    <td>
                        <FTB:FreeTextBox ID="lit_ct" runat="server">
                        </FTB:FreeTextBox>
                        </td>
                </tr>
                <tr>
                    <td class="fontht3" style="width: 25%">Bản đồ</td>
                    <td>
                        <asp:Image ID="img_bando" runat="server" /> 
                    </td>
                </tr>
                <tr>
                    <td class="fontht3" style="width: 25%">Điều kiện</td>
                    <td>
                        <asp:TextBox ID="lit_dk" runat="server" TextMode="MultiLine"></asp:TextBox>   
                    </td>
                </tr>  
                  <tr>
                    <td class="fontht3" style="width: 25%">Thời gian bắt đầu</td>
                    <td>
                        <asp:Label ID="lit_tgbd" runat="server"></asp:Label>
                    </td>
                </tr>   
                <tr>
                    <td class="fontht3" style="width: 25%">Thời gian kết thúc</td>
                    <td>
                        <asp:Label ID="lit_tgkt" runat="server"></asp:Label>  
                    </td>
                </tr> 
                <tr>
                    <td class="fontht3" style="width: 25%">Hạn sử dụng</td>
                    <td>
                        <asp:Label ID="lit_hsd" runat="server"></asp:Label>
                    </td>
                </tr>
                  <tr>
                        <td colspan="2">
                            <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound" EnableTheming="True" >
                
                <HeaderTemplate>
                <table cellpadding="3" cellspacing="0" width="100%" style="background-color:Teal; border-color:White">
                <thead>
                <tr align="center" style="color:White; background-color:Teal; font-family:Tahoma; font-weight:bold">
                <td style="width:25%">Mã</td>
                <td style="width:75%">Hình ảnh</td>
                  </tr>
                </thead>                         
                 </table>
                </HeaderTemplate>
               <ItemTemplate>
                <table cellpadding="3" cellspacing="0" width="100%" border="1" style="border-style:inset; border-color:Blue">
                <tbody>
                <tr>
                 <td style="width:25%"><%#Eval("Mahinh") %></td>
                       <td style="width:75%">
                           <asp:Image ID="hinh" runat="server" Width="150px" Height="150px" /></td>                      
                </tr> 
                </tbody>
                </table>
               </ItemTemplate>
               <FooterTemplate>
               </FooterTemplate>
                 </asp:Repeater>
                            <cc1:PagerV2_8 ID="hyperlinkPager" runat="server" />
                        </td>
                        </tr> 
            </table>
        </div>
 </div>
 </div>
</asp:Content>

